package com.laopan.wxpay.bean.refund;

/**
 * 退款金额
 *
 * @author laopan
 * @className RefundAmount
 * @date 2021/3/8 16:18
 */
public class RefundAmount {
    /**
     * 退款金额
     */
    private Integer refund;

    /**
     * 原订单金额
     */
    private Integer total;

    /**
     * 退款币种
     */
    private String currency;

    public Integer getRefund() {
        return refund;
    }

    public void setRefund(Integer refund) {
        this.refund = refund;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public RefundAmount(Integer refund, Integer total) {
        this.refund = refund;
        this.total = total;
        this.currency = "CNY";
    }
}
